home *** CD-ROM | disk | FTP | other *** search
/ 3D Home Designer Deluxe 5 / Home Depot Arch.iso / Setup / Autorun / launcher.cfg < prev    next >
Encoding:
Text File  |  2003-09-04  |  1.3 KB  |  49 lines

  1. set $5 to mutexexists "Local\Master Builder Application"
  2. goto @mutex if equal {$5} "1"
  3.  
  4. set $4 to registry "SOFTWARE\CadSoft\3DHome" "InstallDir" 2
  5. goto @install if equal {$4} ""
  6.  
  7. set $5 to registry "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EA10FC33-3DBC-4268-A90E-1681760FD417}" "VersionMajor" 2
  8. goto @install if not equal {$5} "5"
  9.  
  10. set $5 to registry "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EA10FC33-3DBC-4268-A90E-1681760FD417}" "VersionMinor" 2
  11. goto @install if not equal {$5} "1"
  12.  
  13. set $6 to inifile {%pigdir}"config.ini" "config" "mask"
  14. set $7 to registry "SOFTWARE\CadSoft\3DHome\UIManager" "Mask" 2
  15.  
  16. goto @install if equal {$7} ""
  17.  
  18. set $minmask to inifile {%pigdir}"config.ini" "config" "minmask"
  19. goto @oldversion if less {$7} {$minmask}
  20.  
  21. @checkmaskloop_begin
  22. set $9 to left {$6}
  23. set $6 to right {$6}
  24. set $8 to checkmask {$9} {$7}
  25. goto @checkmaskloop_end if equal {$8} "1"
  26. goto @checkmaskloop_end if equal {$6} ""
  27. goto @checkmaskloop_begin
  28. @checkmaskloop_end
  29. goto @install if not equal {$8} "1"
  30.  
  31.  
  32. run {$4}\launcher\launcher.exe
  33. goto @stop
  34.  
  35. @install
  36. run autorun.exe
  37. goto @stop
  38.  
  39. @oldversion
  40. message "Uninstall Required"  "One of the Broderbund 3D Home Design products was detected on your machine.  You must uninstall that product before continuing."
  41. goto @stop
  42.  
  43.  
  44. @mutex
  45. goto @stop
  46.  
  47. @stop
  48. stop
  49.